package main

import "fmt"

func a() int {
	fmt.Println("a")
	defer b()
	return 1
}

func b() {
	fmt.Println("b")
	defer c()
}

func c() {
	fmt.Println("c")
}
func main() {
	fmt.Println(a())
}
